container: Don't create too-large clips
authorMatthias Clasen <mclasen@redhat.com>
Wed, 20 Jan 2016 18:42:45 +0000 (13:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 20 Jan 2016 18:44:34 +0000 (13:44 -0500)
commitda31eb4f64eb9218126277851a16f38134fe1f7f
treef19a5e47963f4dece5aca5296d612b6ced1f7e01
parent51f05a00aef5e54f4ecd006f49ed9d1d0497aae8
container: Don't create too-large clips

gdk_rectangle_union will happily add all the worlds pixels
to the union if the initial rectangle is initialized to all
zeros. Therefore, explicitly check for an empty rectangle
before calling it.
gtk/gtkcontainer.c